package com.yeskery.boot.log.record.starter.core;

import java.util.Collection;

/**
 * 日志记录语句操作对象
 * @author dushuangjiang
 * @date 2021-11-16 17:19
 */
public class LogRecordOps {

    /** 语句类型 */
    private StatementType statementType;

    /** 语句 */
    private String statement;

    /** 原始语句 */
    private String originalStatement;

    /** 依赖的嵌套操作对象集合 */
    private Collection<LogRecordOps> dependencies;

    /** 自定义方法名称 */
    private String functionName;

    public StatementType getStatementType() {
        return statementType;
    }

    public void setStatementType(StatementType statementType) {
        this.statementType = statementType;
    }

    public String getStatement() {
        return statement;
    }

    public void setStatement(String statement) {
        this.statement = statement;
    }

    public String getOriginalStatement() {
        return originalStatement;
    }

    public void setOriginalStatement(String originalStatement) {
        this.originalStatement = originalStatement;
    }

    public Collection<LogRecordOps> getDependencies() {
        return dependencies;
    }

    public void setDependencies(Collection<LogRecordOps> dependencies) {
        this.dependencies = dependencies;
    }

    public String getFunctionName() {
        return functionName;
    }

    public void setFunctionName(String functionName) {
        this.functionName = functionName;
    }
}
